home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / init / Kconfig next >
Encoding:
Text File  |  2009-09-09  |  29.5 KB  |  947 lines

  1. config ARCH
  2.     string
  3.     option env="ARCH"
  4.  
  5. config KERNELVERSION
  6.     string
  7.     option env="KERNELVERSION"
  8.  
  9. config DEFCONFIG_LIST
  10.     string
  11.     depends on !UML
  12.     option defconfig_list
  13.     default "/lib/modules/$UNAME_RELEASE/.config"
  14.     default "/etc/kernel-config"
  15.     default "/boot/config-$UNAME_RELEASE"
  16.     default "$ARCH_DEFCONFIG"
  17.     default "arch/$ARCH/defconfig"
  18.  
  19. menu "General setup"
  20.  
  21. config EXPERIMENTAL
  22.     bool "Prompt for development and/or incomplete code/drivers"
  23.     ---help---
  24.       Some of the various things that Linux supports (such as network
  25.       drivers, file systems, network protocols, etc.) can be in a state
  26.       of development where the functionality, stability, or the level of
  27.       testing is not yet high enough for general use. This is usually
  28.       known as the "alpha-test" phase among developers. If a feature is
  29.       currently in alpha-test, then the developers usually discourage
  30.       uninformed widespread use of this feature by the general public to
  31.       avoid "Why doesn't this work?" type mail messages. However, active
  32.       testing and use of these systems is welcomed. Just be aware that it
  33.       may not meet the normal level of reliability or it may fail to work
  34.       in some special cases. Detailed bug reports from people familiar
  35.       with the kernel internals are usually welcomed by the developers
  36.       (before submitting bug reports, please read the documents
  37.       <file:README>, <file:MAINTAINERS>, <file:REPORTING-BUGS>,
  38.       <file:Documentation/BUG-HUNTING>, and
  39.       <file:Documentation/oops-tracing.txt> in the kernel source).
  40.  
  41.       This option will also make obsoleted drivers available. These are
  42.       drivers that have been replaced by something else, and/or are
  43.       scheduled to be removed in a future kernel release.
  44.  
  45.       Unless you intend to help test and develop a feature or driver that
  46.       falls into this category, or you have a situation that requires
  47.       using these features, you should probably say N here, which will
  48.       cause the configurator to present you with fewer choices. If
  49.       you say Y here, you will be offered the choice of using features or
  50.       drivers that are currently considered to be in the alpha-test phase.
  51.  
  52. config BROKEN
  53.     bool
  54.  
  55. config BROKEN_ON_SMP
  56.     bool
  57.     depends on BROKEN || !SMP
  58.     default y
  59.  
  60. config LOCK_KERNEL
  61.     bool
  62.     depends on SMP || PREEMPT
  63.     default y
  64.  
  65. config INIT_ENV_ARG_LIMIT
  66.     int
  67.     default 32 if !UML
  68.     default 128 if UML
  69.     help
  70.       Maximum of each of the number of arguments and environment
  71.       variables passed to init from the kernel command line.
  72.  
  73.  
  74. config LOCALVERSION
  75.     string "Local version - append to kernel release"
  76.     help
  77.       Append an extra string to the end of your kernel version.
  78.       This will show up when you type uname, for example.
  79.       The string you set here will be appended after the contents of
  80.       any files with a filename matching localversion* in your
  81.       object and source tree, in that order.  Your total string can
  82.       be a maximum of 64 characters.
  83.  
  84. config LOCALVERSION_AUTO
  85.     bool "Automatically append version information to the version string"
  86.     default y
  87.     help
  88.       This will try to automatically determine if the current tree is a
  89.       release tree by looking for git tags that belong to the current
  90.       top of tree revision.
  91.  
  92.       A string of the format -gxxxxxxxx will be added to the localversion
  93.       if a git-based tree is found.  The string generated by this will be
  94.       appended after any matching localversion* files, and after the value
  95.       set in CONFIG_LOCALVERSION.
  96.  
  97.       (The actual string used here is the first eight characters produced
  98.       by running the command:
  99.  
  100.         $ git rev-parse --verify HEAD
  101.  
  102.       which is done within the script "scripts/setlocalversion".)
  103.  
  104. config VERSION_SIGNATURE
  105.     string "Arbitrary version signature"
  106.     help
  107.       This string will be created in a file, /proc/version_signature. It
  108.       is useful in determining arbitrary data about your kernel. For instance,
  109.       if you have several kernels of the same version, but need to keep track
  110.       of a revision of the same kernel, but not affect it's ability to load
  111.       compatible modules, this is the easiest way to do that.
  112.  
  113. config SWAP
  114.     bool "Support for paging of anonymous memory (swap)"
  115.     depends on MMU && BLOCK
  116.     default y
  117.     help
  118.       This option allows you to choose whether you want to have support
  119.       for so called swap devices or swap files in your kernel that are
  120.       used to provide more virtual memory than the actual RAM present
  121.       in your computer.  If unsure say Y.
  122.  
  123. config SYSVIPC
  124.     bool "System V IPC"
  125.     ---help---
  126.       Inter Process Communication is a suite of library functions and
  127.       system calls which let processes (running programs) synchronize and
  128.       exchange information. It is generally considered to be a good thing,
  129.       and some programs won't run unless you say Y here. In particular, if
  130.       you want to run the DOS emulator dosemu under Linux (read the
  131.       DOSEMU-HOWTO, available from <http://www.tldp.org/docs.html#howto>),
  132.       you'll need to say Y here.
  133.  
  134.       You can find documentation about IPC with "info ipc" and also in
  135.       section 6.4 of the Linux Programmer's Guide, available from
  136.       <http://www.tldp.org/guides.html>.
  137.  
  138. config SYSVIPC_SYSCTL
  139.     bool
  140.     depends on SYSVIPC
  141.     depends on SYSCTL
  142.     default y
  143.  
  144. config POSIX_MQUEUE
  145.     bool "POSIX Message Queues"
  146.     depends on NET && EXPERIMENTAL
  147.     ---help---
  148.       POSIX variant of message queues is a part of IPC. In POSIX message
  149.       queues every message has a priority which decides about succession
  150.       of receiving it by a process. If you want to compile and run
  151.       programs written e.g. for Solaris with use of its POSIX message
  152.       queues (functions mq_*) say Y here.
  153.  
  154.       POSIX message queues are visible as a filesystem called 'mqueue'
  155.       and can be mounted somewhere if you want to do filesystem
  156.       operations on message queues.
  157.  
  158.       If unsure, say Y.
  159.  
  160. config BSD_PROCESS_ACCT
  161.     bool "BSD Process Accounting"
  162.     help
  163.       If you say Y here, a user level program will be able to instruct the
  164.       kernel (via a special system call) to write process accounting
  165.       information to a file: whenever a process exits, information about
  166.       that process will be appended to the file by the kernel.  The
  167.       information includes things such as creation time, owning user,
  168.       command name, memory usage, controlling terminal etc. (the complete
  169.       list is in the struct acct in <file:include/linux/acct.h>).  It is
  170.       up to the user level program to do useful things with this
  171.       information.  This is generally a good idea, so say Y.
  172.  
  173. config BSD_PROCESS_ACCT_V3
  174.     bool "BSD Process Accounting version 3 file format"
  175.     depends on BSD_PROCESS_ACCT
  176.     default n
  177.     help
  178.       If you say Y here, the process accounting information is written
  179.       in a new file format that also logs the process IDs of each
  180.       process and it's parent. Note that this file format is incompatible
  181.       with previous v0/v1/v2 file formats, so you will need updated tools
  182.       for processing it. A preliminary version of these tools is available
  183.       at <http://www.gnu.org/software/acct/>.
  184.  
  185. config TASKSTATS
  186.     bool "Export task/process statistics through netlink (EXPERIMENTAL)"
  187.     depends on NET
  188.     default n
  189.     help
  190.       Export selected statistics for tasks/processes through the
  191.       generic netlink interface. Unlike BSD process accounting, the
  192.       statistics are available during the lifetime of tasks/processes as
  193.       responses to commands. Like BSD accounting, they are sent to user
  194.       space on task exit.
  195.  
  196.       Say N if unsure.
  197.  
  198. config TASK_DELAY_ACCT
  199.     bool "Enable per-task delay accounting (EXPERIMENTAL)"
  200.     depends on TASKSTATS
  201.     help
  202.       Collect information on time spent by a task waiting for system
  203.       resources like cpu, synchronous block I/O completion and swapping
  204.       in pages. Such statistics can help in setting a task's priorities
  205.       relative to other tasks for cpu, io, rss limits etc.
  206.  
  207.       Say N if unsure.
  208.  
  209. config TASK_XACCT
  210.     bool "Enable extended accounting over taskstats (EXPERIMENTAL)"
  211.     depends on TASKSTATS
  212.     help
  213.       Collect extended task accounting data and send the data
  214.       to userland for processing over the taskstats interface.
  215.  
  216.       Say N if unsure.
  217.  
  218. config TASK_IO_ACCOUNTING
  219.     bool "Enable per-task storage I/O accounting (EXPERIMENTAL)"
  220.     depends on TASK_XACCT
  221.     help
  222.       Collect information on the number of bytes of storage I/O which this
  223.       task has caused.
  224.  
  225.       Say N if unsure.
  226.  
  227. config AUDIT
  228.     bool "Auditing support"
  229.     depends on NET
  230.     help
  231.       Enable auditing infrastructure that can be used with another
  232.       kernel subsystem, such as SELinux (which requires this for
  233.       logging of avc messages output).  Does not do system-call
  234.       auditing without CONFIG_AUDITSYSCALL.
  235.  
  236. config AUDITSYSCALL
  237.     bool "Enable system-call auditing support"
  238.     depends on AUDIT && (X86 || PPC || PPC64 || S390 || IA64 || UML || SPARC64|| SUPERH)
  239.     default y if SECURITY_SELINUX
  240.     help
  241.       Enable low-overhead system-call auditing infrastructure that
  242.       can be used independently or with another kernel subsystem,
  243.       such as SELinux.  To use audit's filesystem watch feature, please
  244.       ensure that INOTIFY is configured.
  245.  
  246. config AUDIT_TREE
  247.     def_bool y
  248.     depends on AUDITSYSCALL && INOTIFY
  249.  
  250. config IKCONFIG
  251.     tristate "Kernel .config support"
  252.     ---help---
  253.       This option enables the complete Linux kernel ".config" file
  254.       contents to be saved in the kernel. It provides documentation
  255.       of which kernel options are used in a running kernel or in an
  256.       on-disk kernel.  This information can be extracted from the kernel
  257.       image file with the script scripts/extract-ikconfig and used as
  258.       input to rebuild the current kernel or to build another kernel.
  259.       It can also be extracted from a running kernel by reading
  260.       /proc/config.gz if enabled (below).
  261.  
  262. config IKCONFIG_PROC
  263.     bool "Enable access to .config through /proc/config.gz"
  264.     depends on IKCONFIG && PROC_FS
  265.     ---help---
  266.       This option enables access to the kernel configuration file
  267.       through /proc/config.gz.
  268.  
  269. config LOG_BUF_SHIFT
  270.     int "Kernel log buffer size (16 => 64KB, 17 => 128KB)"
  271.     range 12 21
  272.     default 17
  273.     help
  274.       Select kernel log buffer size as a power of 2.
  275.       Examples:
  276.                17 => 128 KB
  277.              16 => 64 KB
  278.                  15 => 32 KB
  279.                  14 => 16 KB
  280.              13 =>  8 KB
  281.              12 =>  4 KB
  282.  
  283. config CGROUPS
  284.     bool "Control Group support"
  285.     help
  286.       This option will let you use process cgroup subsystems
  287.       such as Cpusets
  288.  
  289.       Say N if unsure.
  290.  
  291. config CGROUP_DEBUG
  292.     bool "Example debug cgroup subsystem"
  293.     depends on CGROUPS
  294.     default n
  295.     help
  296.       This option enables a simple cgroup subsystem that
  297.       exports useful debugging information about the cgroups
  298.       framework
  299.  
  300.       Say N if unsure
  301.  
  302. config CGROUP_NS
  303.         bool "Namespace cgroup subsystem"
  304.         depends on CGROUPS
  305.         help
  306.           Provides a simple namespace cgroup subsystem to
  307.           provide hierarchical naming of sets of namespaces,
  308.           for instance virtual servers and checkpoint/restart
  309.           jobs.
  310.  
  311. config CGROUP_FREEZER
  312.         bool "control group freezer subsystem"
  313.         depends on CGROUPS
  314.         help
  315.           Provides a way to freeze and unfreeze all tasks in a
  316.       cgroup.
  317.  
  318. config CGROUP_DEVICE
  319.     bool "Device controller for cgroups"
  320.     depends on CGROUPS && EXPERIMENTAL
  321.     help
  322.       Provides a cgroup implementing whitelists for devices which
  323.       a process in the cgroup can mknod or open.
  324.  
  325. config CPUSETS
  326.     bool "Cpuset support"
  327.     depends on SMP && CGROUPS
  328.     help
  329.       This option will let you create and manage CPUSETs which
  330.       allow dynamically partitioning a system into sets of CPUs and
  331.       Memory Nodes and assigning tasks to run only within those sets.
  332.       This is primarily useful on large SMP or NUMA systems.
  333.  
  334.       Say N if unsure.
  335.  
  336. #
  337. # Architectures with an unreliable sched_clock() should select this:
  338. #
  339. config HAVE_UNSTABLE_SCHED_CLOCK
  340.     bool
  341.  
  342. config GROUP_SCHED
  343.     bool "Group CPU scheduler"
  344.     depends on EXPERIMENTAL
  345.     default n
  346.     help
  347.       This feature lets CPU scheduler recognize task groups and control CPU
  348.       bandwidth allocation to such task groups.
  349.  
  350. config FAIR_GROUP_SCHED
  351.     bool "Group scheduling for SCHED_OTHER"
  352.     depends on GROUP_SCHED
  353.     default GROUP_SCHED
  354.  
  355. config RT_GROUP_SCHED
  356.     bool "Group scheduling for SCHED_RR/FIFO"
  357.     depends on EXPERIMENTAL
  358.     depends on GROUP_SCHED
  359.     default n
  360.     help
  361.       This feature lets you explicitly allocate real CPU bandwidth
  362.       to users or control groups (depending on the "Basis for grouping tasks"
  363.       setting below. If enabled, it will also make it impossible to
  364.       schedule realtime tasks for non-root users until you allocate
  365.       realtime bandwidth for them.
  366.       See Documentation/scheduler/sched-rt-group.txt for more information.
  367.  
  368. choice
  369.     depends on GROUP_SCHED
  370.     prompt "Basis for grouping tasks"
  371.     default USER_SCHED
  372.  
  373. config USER_SCHED
  374.     bool "user id"
  375.     help
  376.       This option will choose userid as the basis for grouping
  377.       tasks, thus providing equal CPU bandwidth to each user.
  378.  
  379. config CGROUP_SCHED
  380.     bool "Control groups"
  381.      depends on CGROUPS
  382.      help
  383.       This option allows you to create arbitrary task groups
  384.       using the "cgroup" pseudo filesystem and control
  385.       the cpu bandwidth allocated to each such task group.
  386.       Refer to Documentation/cgroups.txt for more information
  387.       on "cgroup" pseudo filesystem.
  388.  
  389. endchoice
  390.  
  391. config CGROUP_CPUACCT
  392.     bool "Simple CPU accounting cgroup subsystem"
  393.     depends on CGROUPS
  394.     help
  395.       Provides a simple Resource Controller for monitoring the
  396.       total CPU consumed by the tasks in a cgroup
  397.  
  398. config RESOURCE_COUNTERS
  399.     bool "Resource counters"
  400.     help
  401.       This option enables controller independent resource accounting
  402.           infrastructure that works with cgroups
  403.     depends on CGROUPS
  404.  
  405. config MM_OWNER
  406.     bool
  407.  
  408. config CGROUP_MEM_RES_CTLR
  409.     bool "Memory Resource Controller for Control Groups"
  410.     depends on CGROUPS && RESOURCE_COUNTERS
  411.     select MM_OWNER
  412.     help
  413.       Provides a memory resource controller that manages both anonymous
  414.       memory and page cache. (See Documentation/controllers/memory.txt)
  415.  
  416.       Note that setting this option increases fixed memory overhead
  417.       associated with each page of memory in the system. By this,
  418.       20(40)bytes/PAGE_SIZE on 32(64)bit system will be occupied by memory
  419.       usage tracking struct at boot. Total amount of this is printed out
  420.       at boot.
  421.  
  422.       Only enable when you're ok with these trade offs and really
  423.       sure you need the memory resource controller. Even when you enable
  424.       this, you can set "cgroup_disable=memory" at your boot option to
  425.       disable memory resource controller and you can avoid overheads.
  426.       (and lose benefits of memory resource contoller)
  427.  
  428.       This config option also selects MM_OWNER config option, which
  429.       could in turn add some fork/exit overhead.
  430.  
  431. config SYSFS_DEPRECATED
  432.     bool
  433.  
  434. config SYSFS_DEPRECATED_V2
  435.     bool "Create deprecated sysfs files"
  436.     depends on SYSFS
  437.     default y
  438.     select SYSFS_DEPRECATED
  439.     help
  440.       This option creates deprecated symlinks such as the
  441.       "device"-link, the <subsystem>:<name>-link, and the
  442.       "bus"-link. It may also add deprecated key in the
  443.       uevent environment.
  444.       None of these features or values should be used today, as
  445.       they export driver core implementation details to userspace
  446.       or export properties which can't be kept stable across kernel
  447.       releases.
  448.  
  449.       If enabled, this option will also move any device structures
  450.       that belong to a class, back into the /sys/class hierarchy, in
  451.       order to support older versions of udev and some userspace
  452.       programs.
  453.  
  454.       If you are using a distro with the most recent userspace
  455.       packages, it should be safe to say N here.
  456.  
  457. config PROC_PID_CPUSET
  458.     bool "Include legacy /proc/<pid>/cpuset file"
  459.     depends on CPUSETS
  460.     default y
  461.  
  462. config RELAY
  463.     bool "Kernel->user space relay support (formerly relayfs)"
  464.     help
  465.       This option enables support for relay interface support in
  466.       certain file systems (such as debugfs).
  467.       It is designed to provide an efficient mechanism for tools and
  468.       facilities to relay large amounts of data from kernel space to
  469.       user space.
  470.  
  471.       If unsure, say N.
  472.  
  473. config NAMESPACES
  474.     bool "Namespaces support" if EMBEDDED
  475.     default !EMBEDDED
  476.     help
  477.       Provides the way to make tasks work with different objects using
  478.       the same id. For example same IPC id may refer to different objects
  479.       or same user id or pid may refer to different tasks when used in
  480.       different namespaces.
  481.  
  482. config UTS_NS
  483.     bool "UTS namespace"
  484.     depends on NAMESPACES
  485.     help
  486.       In this namespace tasks see different info provided with the
  487.       uname() system call
  488.  
  489. config IPC_NS
  490.     bool "IPC namespace"
  491.     depends on NAMESPACES && SYSVIPC
  492.     help
  493.       In this namespace tasks work with IPC ids which correspond to
  494.       different IPC objects in different namespaces
  495.  
  496. config USER_NS
  497.     bool "User namespace (EXPERIMENTAL)"
  498.     depends on NAMESPACES && EXPERIMENTAL
  499.     help
  500.       This allows containers, i.e. vservers, to use user namespaces
  501.       to provide different user info for different servers.
  502.       If unsure, say N.
  503.  
  504. config PID_NS
  505.     bool "PID Namespaces (EXPERIMENTAL)"
  506.     default n
  507.     depends on NAMESPACES && EXPERIMENTAL
  508.     help
  509.       Support process id namespaces.  This allows having multiple
  510.       process with the same pid as long as they are in different
  511.       pid namespaces.  This is a building block of containers.
  512.  
  513.       Unless you want to work with an experimental feature
  514.       say N here.
  515.  
  516. config BLK_DEV_INITRD
  517.     bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"
  518.     depends on BROKEN || !FRV
  519.     help
  520.       The initial RAM filesystem is a ramfs which is loaded by the
  521.       boot loader (loadlin or lilo) and that is mounted as root
  522.       before the normal boot procedure. It is typically used to
  523.       load modules needed to mount the "real" root file system,
  524.       etc. See <file:Documentation/initrd.txt> for details.
  525.  
  526.       If RAM disk support (BLK_DEV_RAM) is also included, this
  527.       also enables initial RAM disk (initrd) support and adds
  528.       15 Kbytes (more on some other architectures) to the kernel size.
  529.  
  530.       If unsure say Y.
  531.  
  532. if BLK_DEV_INITRD
  533.  
  534. source "usr/Kconfig"
  535.  
  536. endif
  537.  
  538. config CC_OPTIMIZE_FOR_SIZE
  539.     bool "Optimize for size"
  540.     default y
  541.     help
  542.       Enabling this option will pass "-Os" instead of "-O2" to gcc
  543.       resulting in a smaller kernel.
  544.  
  545.       If unsure, say Y.
  546.  
  547. config SYSCTL
  548.     bool
  549.  
  550. config ANON_INODES
  551.     bool
  552.  
  553. menuconfig EMBEDDED
  554.     bool "Configure standard kernel features (for small systems)"
  555.     help
  556.       This option allows certain base kernel options and settings
  557.           to be disabled or tweaked. This is for specialized
  558.           environments which can tolerate a "non-standard" kernel.
  559.           Only use this if you really know what you are doing.
  560.  
  561. config UID16
  562.     bool "Enable 16-bit UID system calls" if EMBEDDED
  563.     depends on ARM || BLACKFIN || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && COMPAT) || UML || (X86_64 && IA32_EMULATION)
  564.     default y
  565.     help
  566.       This enables the legacy 16-bit UID syscall wrappers.
  567.  
  568. config SYSCTL_SYSCALL
  569.     bool "Sysctl syscall support" if EMBEDDED
  570.     default y
  571.     select SYSCTL
  572.     ---help---
  573.       sys_sysctl uses binary paths that have been found challenging
  574.       to properly maintain and use.  The interface in /proc/sys
  575.       using paths with ascii names is now the primary path to this
  576.       information.
  577.  
  578.       Almost nothing using the binary sysctl interface so if you are
  579.       trying to save some space it is probably safe to disable this,
  580.       making your kernel marginally smaller.
  581.  
  582.       If unsure say Y here.
  583.  
  584. config KALLSYMS
  585.      bool "Load all symbols for debugging/ksymoops" if EMBEDDED
  586.      default y
  587.      help
  588.        Say Y here to let the kernel print out symbolic crash information and
  589.        symbolic stack backtraces. This increases the size of the kernel
  590.        somewhat, as all symbols have to be loaded into the kernel image.
  591.  
  592. config KALLSYMS_ALL
  593.     bool "Include all symbols in kallsyms"
  594.     depends on DEBUG_KERNEL && KALLSYMS
  595.     help
  596.        Normally kallsyms only contains the symbols of functions, for nicer
  597.        OOPS messages.  Some debuggers can use kallsyms for other
  598.        symbols too: say Y here to include all symbols, if you need them 
  599.        and you don't care about adding 300k to the size of your kernel.
  600.  
  601.        Say N.
  602.  
  603. config KALLSYMS_EXTRA_PASS
  604.     bool "Do an extra kallsyms pass"
  605.     depends on KALLSYMS
  606.     help
  607.        If kallsyms is not working correctly, the build will fail with
  608.        inconsistent kallsyms data.  If that occurs, log a bug report and
  609.        turn on KALLSYMS_EXTRA_PASS which should result in a stable build.
  610.        Always say N here unless you find a bug in kallsyms, which must be
  611.        reported.  KALLSYMS_EXTRA_PASS is only a temporary workaround while
  612.        you wait for kallsyms to be fixed.
  613.  
  614.  
  615. config HOTPLUG
  616.     bool "Support for hot-pluggable devices" if EMBEDDED
  617.     default y
  618.     help
  619.       This option is provided for the case where no hotplug or uevent
  620.       capabilities is wanted by the kernel.  You should only consider
  621.       disabling this option for embedded systems that do not use modules, a
  622.       dynamic /dev tree, or dynamic device discovery.  Just say Y.
  623.  
  624. config PRINTK
  625.     default y
  626.     bool "Enable support for printk" if EMBEDDED
  627.     help
  628.       This option enables normal printk support. Removing it
  629.       eliminates most of the message strings from the kernel image
  630.       and makes the kernel more or less silent. As this makes it
  631.       very difficult to diagnose system problems, saying N here is
  632.       strongly discouraged.
  633.  
  634. config BUG
  635.     bool "BUG() support" if EMBEDDED
  636.     default y
  637.     help
  638.           Disabling this option eliminates support for BUG and WARN, reducing
  639.           the size of your kernel image and potentially quietly ignoring
  640.           numerous fatal conditions. You should only consider disabling this
  641.           option for embedded systems with no facilities for reporting errors.
  642.           Just say Y.
  643.  
  644. config ELF_CORE
  645.     default y
  646.     bool "Enable ELF core dumps" if EMBEDDED
  647.     help
  648.       Enable support for generating core dumps. Disabling saves about 4k.
  649.  
  650. config PCSPKR_PLATFORM
  651.     bool "Enable PC-Speaker support" if EMBEDDED
  652.     depends on ALPHA || X86 || MIPS || PPC_PREP || PPC_CHRP || PPC_PSERIES
  653.     default y
  654.     help
  655.           This option allows to disable the internal PC-Speaker
  656.           support, saving some memory.
  657.  
  658. config BASE_FULL
  659.     default y
  660.     bool "Enable full-sized data structures for core" if EMBEDDED
  661.     help
  662.       Disabling this option reduces the size of miscellaneous core
  663.       kernel data structures. This saves memory on small machines,
  664.       but may reduce performance.
  665.  
  666. config FUTEX
  667.     bool "Enable futex support" if EMBEDDED
  668.     default y
  669.     select RT_MUTEXES
  670.     help
  671.       Disabling this option will cause the kernel to be built without
  672.       support for "fast userspace mutexes".  The resulting kernel may not
  673.       run glibc-based applications correctly.
  674.  
  675. config EPOLL
  676.     bool "Enable eventpoll support" if EMBEDDED
  677.     default y
  678.     select ANON_INODES
  679.     help
  680.       Disabling this option will cause the kernel to be built without
  681.       support for epoll family of system calls.
  682.  
  683. config SIGNALFD
  684.     bool "Enable signalfd() system call" if EMBEDDED
  685.     select ANON_INODES
  686.     default y
  687.     help
  688.       Enable the signalfd() system call that allows to receive signals
  689.       on a file descriptor.
  690.  
  691.       If unsure, say Y.
  692.  
  693. config TIMERFD
  694.     bool "Enable timerfd() system call" if EMBEDDED
  695.     select ANON_INODES
  696.     default y
  697.     help
  698.       Enable the timerfd() system call that allows to receive timer
  699.       events on a file descriptor.
  700.  
  701.       If unsure, say Y.
  702.  
  703. config EVENTFD
  704.     bool "Enable eventfd() system call" if EMBEDDED
  705.     select ANON_INODES
  706.     default y
  707.     help
  708.       Enable the eventfd() system call that allows to receive both
  709.       kernel notification (ie. KAIO) or userspace notifications.
  710.  
  711.       If unsure, say Y.
  712.  
  713. config SHMEM
  714.     bool "Use full shmem filesystem" if EMBEDDED
  715.     default y
  716.     depends on MMU
  717.     help
  718.       The shmem is an internal filesystem used to manage shared memory.
  719.       It is backed by swap and manages resource limits. It is also exported
  720.       to userspace as tmpfs if TMPFS is enabled. Disabling this
  721.       option replaces shmem and tmpfs with the much simpler ramfs code,
  722.       which may be appropriate on small systems without swap.
  723.  
  724. config AIO
  725.     bool "Enable AIO support" if EMBEDDED
  726.     default y
  727.     help
  728.       This option enables POSIX asynchronous I/O which may by used
  729.           by some high performance threaded applications. Disabling
  730.           this option saves about 7k.
  731.  
  732. config VM_EVENT_COUNTERS
  733.     default y
  734.     bool "Enable VM event counters for /proc/vmstat" if EMBEDDED
  735.     help
  736.       VM event counters are needed for event counts to be shown.
  737.       This option allows the disabling of the VM event counters
  738.       on EMBEDDED systems.  /proc/vmstat will only show page counts
  739.       if VM event counters are disabled.
  740.  
  741. config PCI_QUIRKS
  742.     default y
  743.     bool "Enable PCI quirk workarounds" if EMBEDDED
  744.     depends on PCI
  745.     help
  746.       This enables workarounds for various PCI chipset
  747.           bugs/quirks. Disable this only if your target machine is
  748.           unaffected by PCI quirks.
  749.  
  750. config SLUB_DEBUG
  751.     default y
  752.     bool "Enable SLUB debugging support" if EMBEDDED
  753.     depends on SLUB && SYSFS
  754.     help
  755.       SLUB has extensive debug support features. Disabling these can
  756.       result in significant savings in code size. This also disables
  757.       SLUB sysfs support. /sys/slab will not exist and there will be
  758.       no support for cache validation etc.
  759.  
  760. config COMPAT_BRK
  761.     bool "Disable heap randomization"
  762.     default y
  763.     help
  764.       Randomizing heap placement makes heap exploits harder, but it
  765.       also breaks ancient binaries (including anything libc5 based).
  766.       This option changes the bootup default to heap randomization
  767.       disabled, and can be overriden runtime by setting
  768.       /proc/sys/kernel/randomize_va_space to 2.
  769.  
  770.       On non-ancient distros (post-2000 ones) N is usually a safe choice.
  771.  
  772. choice
  773.     prompt "Choose SLAB allocator"
  774.     default SLUB
  775.     help
  776.        This option allows to select a slab allocator.
  777.  
  778. config SLAB
  779.     bool "SLAB"
  780.     help
  781.       The regular slab allocator that is established and known to work
  782.       well in all environments. It organizes cache hot objects in
  783.       per cpu and per node queues.
  784.  
  785. config SLUB
  786.     bool "SLUB (Unqueued Allocator)"
  787.     help
  788.        SLUB is a slab allocator that minimizes cache line usage
  789.        instead of managing queues of cached objects (SLAB approach).
  790.        Per cpu caching is realized using slabs of objects instead
  791.        of queues of objects. SLUB can use memory efficiently
  792.        and has enhanced diagnostics. SLUB is the default choice for
  793.        a slab allocator.
  794.  
  795. config SLOB
  796.     depends on EMBEDDED
  797.     bool "SLOB (Simple Allocator)"
  798.     help
  799.        SLOB replaces the stock allocator with a drastically simpler
  800.        allocator. SLOB is generally more space efficient but
  801.        does not perform as well on large systems.
  802.  
  803. endchoice
  804.  
  805. config PROFILING
  806.     bool "Profiling support (EXPERIMENTAL)"
  807.     help
  808.       Say Y here to enable the extended profiling support mechanisms used
  809.       by profilers such as OProfile.
  810.  
  811. #
  812. # Place an empty function call at each tracepoint site. Can be
  813. # dynamically changed for a probe function.
  814. #
  815. config TRACEPOINTS
  816.     bool
  817.  
  818. config MARKERS
  819.     bool "Activate markers"
  820.     help
  821.       Place an empty function call at each marker site. Can be
  822.       dynamically changed for a probe function.
  823.  
  824. source "arch/Kconfig"
  825.  
  826. endmenu        # General setup
  827.  
  828. config HAVE_GENERIC_DMA_COHERENT
  829.     bool
  830.     default n
  831.  
  832. config SLABINFO
  833.     bool
  834.     depends on PROC_FS
  835.     depends on SLAB || SLUB_DEBUG
  836.     default y
  837.  
  838. config RT_MUTEXES
  839.     boolean
  840.     select PLIST
  841.  
  842. config TINY_SHMEM
  843.     default !SHMEM
  844.     bool
  845.  
  846. config BASE_SMALL
  847.     int
  848.     default 0 if BASE_FULL
  849.     default 1 if !BASE_FULL
  850.  
  851. menuconfig MODULES
  852.     bool "Enable loadable module support"
  853.     help
  854.       Kernel modules are small pieces of compiled code which can
  855.       be inserted in the running kernel, rather than being
  856.       permanently built into the kernel.  You use the "modprobe"
  857.       tool to add (and sometimes remove) them.  If you say Y here,
  858.       many parts of the kernel can be built as modules (by
  859.       answering M instead of Y where indicated): this is most
  860.       useful for infrequently used options which are not required
  861.       for booting.  For more information, see the man pages for
  862.       modprobe, lsmod, modinfo, insmod and rmmod.
  863.  
  864.       If you say Y here, you will need to run "make
  865.       modules_install" to put the modules under /lib/modules/
  866.       where modprobe can find them (you may need to be root to do
  867.       this).
  868.  
  869.       If unsure, say Y.
  870.  
  871. if MODULES
  872.  
  873. config MODULE_FORCE_LOAD
  874.     bool "Forced module loading"
  875.     default n
  876.     help
  877.       Allow loading of modules without version information (ie. modprobe
  878.       --force).  Forced module loading sets the 'F' (forced) taint flag and
  879.       is usually a really bad idea.
  880.  
  881. config MODULE_UNLOAD
  882.     bool "Module unloading"
  883.     help
  884.       Without this option you will not be able to unload any
  885.       modules (note that some modules may not be unloadable
  886.       anyway), which makes your kernel smaller, faster
  887.       and simpler.  If unsure, say Y.
  888.  
  889. config MODULE_FORCE_UNLOAD
  890.     bool "Forced module unloading"
  891.     depends on MODULE_UNLOAD && EXPERIMENTAL
  892.     help
  893.       This option allows you to force a module to unload, even if the
  894.       kernel believes it is unsafe: the kernel will remove the module
  895.       without waiting for anyone to stop using it (using the -f option to
  896.       rmmod).  This is mainly for kernel developers and desperate users.
  897.       If unsure, say N.
  898.  
  899. config MODVERSIONS
  900.     bool "Module versioning support"
  901.     help
  902.       Usually, you have to use modules compiled with your kernel.
  903.       Saying Y here makes it sometimes possible to use modules
  904.       compiled for different kernels, by adding enough information
  905.       to the modules to (hopefully) spot any changes which would
  906.       make them incompatible with the kernel you are running.  If
  907.       unsure, say N.
  908.  
  909. config MODULE_SRCVERSION_ALL
  910.     bool "Source checksum for all modules"
  911.     help
  912.       Modules which contain a MODULE_VERSION get an extra "srcversion"
  913.       field inserted into their modinfo section, which contains a
  914.           sum of the source files which made it.  This helps maintainers
  915.       see exactly which source was used to build a module (since
  916.       others sometimes change the module source without updating
  917.       the version).  With this option, such a "srcversion" field
  918.       will be created for all modules.  If unsure, say N.
  919.  
  920. config KMOD
  921.     def_bool y
  922.     help
  923.       This is being removed soon.  These days, CONFIG_MODULES
  924.       implies CONFIG_KMOD, so use that instead.
  925.  
  926. endif # MODULES
  927.  
  928. config STOP_MACHINE
  929.     bool
  930.     default y
  931.     depends on (SMP && MODULE_UNLOAD) || HOTPLUG_CPU
  932.     help
  933.       Need stop_machine() primitive.
  934.  
  935. source "block/Kconfig"
  936.  
  937. config PREEMPT_NOTIFIERS
  938.     bool
  939.  
  940. config CLASSIC_RCU
  941.     def_bool !PREEMPT_RCU
  942.     help
  943.       This option selects the classic RCU implementation that is
  944.       designed for best read-side performance on non-realtime
  945.       systems.  Classic RCU is the default.  Note that the
  946.       PREEMPT_RCU symbol is used to select/deselect this option.
  947.